/**
 * 
 */
package com.jfootball.service;

import java.util.HashMap;
import java.util.List;

import com.jfootball.domain.Player;

/**
 * @author Alessandro Danesi
 *
 * 22/mag/201523:11:56
 */
public interface PlayerService
{

	public Player getPlayerByID(Long id);
	
	public List<Player> getPlayersByTeam(Long idTeam, String teamCategory);
	
	public String getRank(Long teamId, Long playerId);
	
	public HashMap<String, Object> getHashMap(Long teamId, Integer rankId);
	
	public void deletePlayer(Long idPlayer);
	
	public void savePlayer(Player player);
	
	public void doEndSeasonJob();
	
	public void doCareerPlayerJob();
	
	public boolean findPlayerExists(String firstName, String lastName, String dateOfBirth);
	
	public void updatePlayer(String playerId, String teamId, String isTeamOwner, String status);
	
	public List<Player> getPlayersByLetter(String letter, String searchType);
}
